<template>
    <div>
      <!--头部-->
      <div class="top">
        <div class="top-left">
          <img @click="goback()" src="../../../static/bmqd/BMQD-1.png" alt="">
        </div>
        <span>{{title}}</span>
        <router-link to="/idinfo">
          <p>添加新身份</p>
        </router-link>
      </div>


      <div class="con" v-if="bol">
        <div class="con-top"></div>
        <div class="con-bot">
          <p>暂无身份信息,请添加</p>
          <router-link to="/idinfo">
            <button class="btn">添加新身份信息</button>
          </router-link>
        </div>
      </div>

      <div class="info-wrap" v-else>
        <div class="info-top">
          <h3>李四</h3>
          <p>410781000000000000</p>
          <span>审核中</span>
        </div>

        <div class="info-img">

        </div>

        <div class="upd-del">
          <span class="update"><img src="" alt="">编辑</span>
          <span class="del"><img src="" alt="">删除</span>
        </div>
      </div>



    </div>
</template>

<script>
    export default {
        name: "Shenfenz",
      data(){
          return{
            title:'身份实名认证',
            bol:true
          }
      },
      methods:{
          goback(){
            history.go(-1);
          }
      }
    }
</script>

<style scoped>
  .top{
    width: 69rem;
    height: 3rem;
    line-height: 3rem;
    padding: 3.5rem 1.5rem;
    background: #e53e42;
    display: flex;
    justify-content: space-between;
  }
  .top span{
    display: inline-block;
    width: 20rem;
    text-align: center;
    font-size: 36px;
    color: #fff;
  }
  .top-left{
    width: 12rem;
  }

  .top p{
    width: 12rem;
    font-size: 30px;
    color: #fff;
    text-align:right;
  }
  .top img{
    width: 3rem;
    height: 3rem;
  }




  .con{
    width: 35rem;
    height: 47rem;
    margin: 9rem auto;
    text-align: center;
  }
  .con .con-top{
    width: 100%;
    height: 31rem;
    background: #fee3e3;
  }
  .con .con-bot{
    width: 31rem;
    padding: 2rem 2rem 0;
  }
  .con-bot p{
    font-size: 24px;
    color: #808080;
    margin-bottom:2.5rem;
  }
  .con-bot .btn{
    width: 100%;
    height: 6rem;
    line-height: 6rem;
    color: #4d4d4d;
    font-size: 30px;
    border: 1px solid #4d4d4d;
    border-radius: 30px;
    background: #fff;
  }
</style>
